<script setup>
import TitleValue from '@components/TitleValue'
defineProps({
    settle: Object
})
</script>
            
<template>
    <el-row :gutter="16">
        <el-col :span="6">
            <title-value title="丢失赔偿:" :value="settle.lostMoney" />
        </el-col>
        <el-col :span="6">
            <title-value title="损坏赔偿:" :value="settle.damageMoney" />
        </el-col>
        <el-col :span="6">
            <title-value title="违约赔偿:" :value="settle.violateMoney" />
        </el-col>
        <el-col :span="6">
            <title-value title="总和赔偿:" :value="settle.isNull == 1 ? settle.damageMoney + settle.lostMoney + settle.violateMoney : 0" />
        </el-col>
    </el-row>
    <el-row :gutter="16">
        <el-col :span="6">
            <title-value title="结算说明:" :value="settle.settleRemark" />
        </el-col>
        <el-col :span="6">
            <title-value title="免押额度:" :value="settle.damageMoney" />
        </el-col>
        <el-col :span="6">
            <title-value title="支付单号:" :value="settle.outTransNo" />
        </el-col>
        <el-col :span="6">
            <title-value title="实际支付:" :value="settle.isNull == 1 ? settle.damageMoney + settle.lostMoney + settle.violateMoney : 0" />
        </el-col>
    </el-row>
</template>
                